﻿#ifndef HTTPPOST_H
#define HTTPPOST_H

#include <QObject>
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
#include <QUrl>
#include <QDebug>
#include <QByteArray>

class HttpPost : public QObject
{
    Q_OBJECT
public:
    explicit HttpPost(QObject *parent = nullptr);

private slots:
    // 请求完成后的处理槽
    void onReplyFinished(QNetworkReply *reply);

private:
    QNetworkAccessManager *manager; // 网络管理对象
};

#endif // HTTPPOST_H
